.row-fluid
  .span12
    .well
      %h3 
        Results Summary
        %small
          %strong
            %i.icon-flag.tip{title: tx("search_results_by_source_flag")}
      %small
        %strong
          %em Drug-gene interactions summarized by the source(s) that reported them.
      %p
      =render partial: 'shared/table_export', locals: {id: 'table-by-source'}
      %table#table-by-source.table.table-striped.table-bordered(cellpadding="0" cellspacing="0" border="0")
        %thead
          %tr
            %th 
              Interaction
              %i.icon-flag.tip{title: tx("interaction_by_source_table_header_interaction_flag")}
            -results.source_db_names_for_table.each do |name|
              %th{title: name}=name.gsub(/[a-z]/,'')[0..1]
            %th
              Sources
              %i.icon-flag.tip{title: tx("interaction_by_source_table_header_count_flag")}
            %th
              PMID
              %i.icon-flag.tip{title: tx("interaction_by_source_table_pmid_count_flag")}
            %th
              Score
        %tbody
          =render partial: 'interaction_claims/results_by_source_table_row', collection: results.interactions_map_by_source_db_names
